<?phpclass CouponSnAction extends CommonAction{    public $coupon_id;    function _initialize(){        parent::_initialize();        $this->dao = D('coupon_sn');// 编辑、删除操作需要    }    // coupon表的增删改查    public function index(){        $id = $map['coupon_id'] = intval($_GET['id']);        $this->assign("coupon_id",$id);        $this->listmap = $map;        parent::_list("","",$field="id,sn,member_id,order_id,ctime,use_time,status");        $this->display();    }}